Other Classes
The following classes are available globally.
-
See moreDispatchTimer
is a general-purpose wrapper over theDispatchSourceTimer
mechanism in GCD.Declaration
Swift
public class DispatchTimer
-
Provides alternative access to routing API.
Use this class instead
See moreDirections
requests wrapper to request new routes or refresh an existing one. Depending onRouterSource
,MapboxRoutingProvider
will use online and/or onboard routing engines. This may be used when designing purely online or offline apps, or when you need to provide best possible service regardless of internet collection.Declaration
Swift
public class MapboxRoutingProvider : RoutingProvider
-
Proactively fetches tiles which may become necessary if the device loses its Internet connection at some point during passive or active turn-by-turn navigation.
Typically, you initialize an instance of this class and retain it as long as caching is required.
Note
This object uses global tile store configuration fromNavigationSettings.tileStoreConfiguration
.Declaration
Swift
public class PredictiveCacheManager
-
A banner view that contains the current step instruction along a route and responds to tap and swipe gestures.
Declaration
Swift
open class StepInstructionsView : BaseInstructionsBannerView
-
UITableViewCell
instance that provides the ability to show a current step instruction along a route.Declaration
Swift
open class StepTableViewCell : UITableViewCell